import request from '@/utils/request'

//查看消息列表
export function listScroll(data) {
  return request({
    url: '/api/scroll/selectScrollInfo',
    method: 'post',
    data: data
  })
}

//添加消息
export function addScroll(data) {
  return request({
    url: '/api/scroll/insertScroll',
    method: 'post',
    data: data
  })
}

//修改消息
export function updateScroll(data) {
  return request({
    url: '/api/scroll/updateScrollInfoByUUId',
    method: 'post',
    data: data
  })
}

//删除消息
export function deleteScroll(data) {
  return request({
    url: '/api/scroll/updateScrollStatusByUUId',
    method: 'post',
    data: data
  })
}
